import java.io.*;
import java.util.Arrays;
import java.util.Collections;
import java.text.Normalizer;

class ToUpper extends BufferedReader {
	protected PrintStream output = null;

	public ToUpper(String inFile) throws FileNotFoundException {
		super(new FileReader(inFile));
	}

	public ToUpper(String inF, String outF) throws FileNotFoundException {
		super(new FileReader(inF));
		output = new PrintStream(new FileOutputStream(outF));
	}

	@Override
	public String readLine() throws IOException {
		String s = super.readLine();
		return (s==null ? null : s.toUpperCase());
	}

	public void convert() throws IOException {
		String s;
		while ((s = readLine()) != null)
			output.println(s);
	}

	@Override
	public void close() throws IOException {
		if (output != null) {
			output.close();
			output = null;
		}
		super.close();
	}

	public static void main(String[] arg) {
		try {
			ToUpper transformer = new ToUpper("histoire.txt", "out.txt");
			transformer.convert();
			transformer.close();
		}
		catch (Exception e) {
			e.printStackTrace();
		}
	}
}
